Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 12 - Preview Components / Preview Components Reference
Functions / Handling Events


PreviewEvent

If your preview component handles events, the PreviewEvent function is called as appropriate.

pascal ComponentResult PreviewEvent (pnotComponent p, 
                                     EventRecord *e,
                                     Boolean *handledEvent);
p
Specifies your preview component. You obtain this identifier from
the Component Manager's OpenComponent function. See the chapter "Component Manager" in Inside Macintosh: More Macintosh Toolbox for details.
e
Contains a pointer to the event structure for this operation.
handledEvent
Contains a pointer to a Boolean value. If you completely handle an event such as a mouse-down event or keystroke, you should set the handledEvent parameter to true. Otherwise, set it to false.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help